added some logic that will generate basic usability, however this is still unusable until getopts is set up.