adding models
adding restful event routes