several paging fixes
added license file