Starting to add a controller/event handler, which will eventually
function as the connection between backend and frontend