Permission system and Inventory manager

Moved all business logic to the api/services dir
Merge pull request #2 from ecabello/master

Permission system and Inventory manager