created intelligent menu system. resolved #11