Moved views and model to separated files.

Fetching model at view render...