Move path locations to struct functions
Split structs into own file