LOTS of refacorting updates to include SQLite. Project is now building and running.