Create main classes for locator and nodes.