adding some copyright and documentation stuff