Revamped argument parser and added charset formating feature