Added simple mutex class.
Removed string functions from shell.