cleaned up code. added hello world directive