backend: refactor init

Conflicts:
	src/pragha-backend.c