New model
Fixed model importing
Towards secure REST

Changeing implementation towards serving data through REST