Getting ready to implement new authorization mech

Regrouped server model data validation with restriction block;
Removed 'Resource' and 'Signature' model; (meta model now means a model
without data/file but only logic that transforms other related models'
data)
Todo:
Modify auth middleware.