Make crossplatform and add some basic blocks