Moved some files over to lib, wrote the beginnings of the API class, started on the datamuncher.