Added config, basic calculation of chunk locations