Beautified singleton design
Added IP lookup & Moved utilities to separate file