Created active transitions, which can be executed separately and encapsulates db-independent logic
Added ClassTag to transition. Because it's required by Cache
Fixed compile errors