split overworld.c in more files