Base code

Lots of basic features have been put into place, auto-detecting file
paths and such.