implements serializable & Remove useless

implements serializable for save Objects
Add layer function [PROTOTYPE]