Added attribute routes & separated models into different files