add copyright and BSD licence statement