Huge commit. Added basic region API, and other stuff. Now working on single-session generator. Porting to cloud-compute is easy-ish