Added first version of getmac
Fixed getmac