Split the source into individual files for easier maintenance. Added get_cache(), set_cache(), console_write() and show_error() in the process.
Added new CA cert for raw.github.com
Merge in the split source code to make the codebase not totally insane to maintain