That would be an interesting GSoC project. You should add this to the FreeBSD ideas page.