Remove useless includes from GPU module.
Adjust parameter order in GPU header file.
Major rewrite. Split up network in two components.