added symfony, started a functional test for the API.