Cleaned code in calculator.
Deleted database directory.
Added missing files.