Core application functionality complete

The core stuff is done, still no useable UI or anything though.