Reorganized files and added licensing