Added better documentation and user output