changed layout. Added models and console packages

separated views.py
separated configuration