create_app from lib