editor: add base implementation of bsp2