Added triggers to core module
Added more schema to core module