changing models to use generic data store functions/model arrays and added url resolver to route manager