added license and some information
removed an unnecessary array encapsulation