removed unused WriterResource and moved command into main class
resulting in a 1 class module