Move note controller to a more rails rest way