Upgraded build process, refactored core, saved bytes