Completely redesigned the entire project from scratch. It's now much more flexible and has added functionality.