Java Implementation of Flow-Based Programming (FBP)