Created a System Command Factory

Created a factory to handle system commands