Initial commit, model work, endpoint generation