[MAJOR UPDATE] create actions for defined layers instead
of connecting layers, update to new API, remove 1.8 compatibility