Changed to BSD license, fixed module export syntax