Moved workout api calls to angular service + added creation of races