Add copyrights to files. Add getters to Flow class.