Principles of architectural formation of modern small and medium-sized industrial enterprises