Added some comments and a feature to get all necessary dependencies before build.