Toolkit for writing and running fx algorithms