Cleaned up Locator.cs

Removed all the unnecessary functions.