Bugfixes, speed improvements and api update with lecturehours