Network event feat

@Mioa 
Updated some code standard, did some commenting, did some other shit. 
Please review