add homepage and repository fields to package.json
correct git url in package.json
add support for layouts and add new test cases to cover functionality