simple REST API for Raspberry Pi based on Symfony2 framework