lib: Moved and updated public header files. Removed old network interface
and replaced it with new network interface class object. Source code clean
up and updates.