added license, fixed some layout issues.