Added a simple mutex class, needs further functionality