Change project architecture. Fix bug with http response.