refactored mep validation for new clui
added basic option parsing