Added paramater, cleaned code.

- Added memory usage parameter and respective subroutine. *nix
  exclusive for now.
- Moved Defaults to top of file.
Added memory and command options.

- Added maximum memory checker.
- Added error command that runs when maximum memory is exceeded.