Added LAN and Log singletons
Refactored to namespace