moved script to outernal file
clean up. added console
+ serialization/ build +