Initial commit of fully functional codebase