minor fix in main file
rewrote module processing part; now modules command match file name
commit of desperation, prject status is SNAFU, OTP design principles blew up my mind