Move creation of location file to a new Object
Fix use of global PCAPI variable
Move the location tool to an independent toolbar