optimization: moving class Keyboard -> namespace Keyboard