biom2 support

@ebolyen, can you merge please?