Added some documentation, improved error messages when a missing dependency is encountered