moves library to the akclasses file and scope, sets up dbak, the class used for writing to the main database. empty class that doesn't do anything yet.