finished controller for frontend-backend communication
implemented example data-controller