Created Controls class

Also added methods to test either the key is pressed or the associated action is true.