schema methods and some routes