refactor gitsm into models, add sites endpoint
add sites endpoint, refactor gitsm models