fixed wrong stuff and added schooltype
added schooltype to api
added schooltype db tool