Create Flow.java

flow entry structure