Move extension code into a sub-folder.
Split files up, start encapsulating logic.