Add some methods for alert and mouse operations

This class will be refactor later.