[license] GNU v2 added
[license] added license header on top of each source file