Reforked Project, changed SQL Code after refactoring, added descriptions, added apierror class