Basic implementation of models

Plus root routing