tested with creating html. Everything seems to be working okay, I've got the core down. Will probably add GUI and make it nicer to work with.