Initial commit

These files have been in another repo for while. There are few pending
tasks, like adding comments and reviewing the Thesis.java file.