Refactoring code

Is added serialVersionUID and implements Serializable in all controllers