Add some new methods to the API to handle mutes and fixed some code

Created some methods to handle mutes and such, also fixed error in createAPI which didn't have a throws declaration.