Add biome support, many other fixes