Made some changes. Loads from file system. It still needs a lot of work but suits my purposes.