Split file up and added licensing information