Added smart pointers.
Added interface helper class.
Unified code style.
Moved system endianess detector.
WIP