Add build dir, change to 'revealing module pattern', delint