Added warnings
Made some classes serializable
Adjusted classes to make the program work (WIP)