Move relevant classes from formats-bsd to formats-api and update docs