updated license to fix build issue, added module dependencies
code cleanup