Moved controllers to core module
Creating dynamic DTO for javascript!