adding .gitingnore file and introudcing 'at_exit' hook in env.rb