added basic cli parsing