Added view for a single flat
Added support for flat view in views.py
added support for flat view
FIxed merging problems