Use singular name for model
Changed API basepath, added env variable