Removed old library.
New generic_type library added.
Code updated for working with new generic_type library.
Warning fixed for gcc 4.6
Added -Wextra flag.