Added basic version of command-line parsing