cleaning up repo, added Apache licence to projects