Added more features to keypad library