Initial codebase; currently untested but compiles