Added the registration of Companies and various bug fixes