First beta implementation of f4m v2 format

First beta implementation of f4m v2 format