Fixed resource placement

Moved resource folder from "src" to root directory.
Updated command checking

Created array holding valid commands and method to check user supplied
command against values in the array.
Fixed NPE

Added null check on Scanner.