Update documentation
Finalize write_profile skeleton
Roxygenize