Changed some stuff.
Added functionality.
Code needs to be split in server slave.
Asn communication needs to be made between the different instances.