initial file add
inheritance and STL RTTI problems
updated header with license details.