Implement functionality triggered by routes for getting projects and canvases

Please be aware that the database scheme changed. You have to update your database.
Can't we reuse projectInfo here instead of creating $project?