Done many changes, including creation of a KeyboardListener and setting app size in java