added basic chunk loading and unloading