generate app and models