Added common.h, host_sync, mem_sync, bsp_push_reg, bsp_put and relevant datastructures (registermap and registermap_buffer)
Wrote tex on added improvements (memory management)