Added Open Souce linces and minor improvements

Added apache license and few changes on menu + utils.