Rewrite BlazeLoader as a LiteLoader API

This is UNFINISHED and EVERYTHING is subject to change!
Fix repository structure