Cleaned up database result files and added default classes
Fixed rights