Inintial commit, function to get the primary interface
added function sock_get_primary_if
Added code to auto-genarate ac name from macadress of primary network interface.
Added function init_db.
Added obj for sock_get_primary_if