Added a write function and hello world functionality
Added an exiting message