Started large expansion of bind system by using an array of bind objects instead of simply defining macros corresponding to keys
Implemented flags system