Turn the box api into a service

Creates a service for the box api
Refactors code to use Symfony coding standards

Signed-off-by: Jesus Fernandez <jesus.fndz@gmail.com>