Started working on gAPainter's network. Still needs some debugging..