add buildscripts
update docs with compilation instructions
define and include the public function for f5.c