initial commit, basic rest api functionality