added basic cmd line interface