Added password support, updated documentation, fixed bugs.