Added basic flow

Added some basic flow as well as the GPL headers