added mouse and keyboard classes