Fixed basic errors

Repaired all possible spelling errors, overviewed the design, added one
or two more parameters/actions