add core models and api
add endpoints for tracks api