moved library-related code into the dedicated FormFlow folder