Add General lib
Add simple error handling to student page