Input argument handling

Implemented input argument handling and added Apache commons-lang to the project.