Working on Python and C bindings.
Added synchronization class.