Fixed a few bugs and added help menu , and fail messages