Added location handling in separate python file, adjusted response formatting