organized code by grouping into model and controller`
Merge pull request #1 from saran87/master

Grouped project files into models and controllers