adds errorcontroller & fixes database scheme
fixes file names as pascal case