refactored fatsecret api code, introduced service classes