Celestrium plugin architecture refactor