Refactoring directory structure, added license info to existing files