Documented for Doxygen

Also added LICENSE file and headers for GPLv3