error with creating database (forms for models need models to exist). Now that code replaced to init methods