Changed publication schema to match front end, linked with front end, added controlelr and route