- using model factory in Api class now
- Api now extends Pimple to solve dependency injections
- fixed wrong extends path in testing environment