added library prefixes for convenience
added a copyright notice