Added some database code and began a simple calculator.