I've decided code my own small library since I just need basic functionallity and only instance,asset and background layers. Seems to be working fine so far, but you have helped a lot with your implementation so thanks a lot!