Handle basic parameters

add handle for "-h" and "-db" parameters.