fixed error in deserializer and added getitem method
added other getitem methods
changed ints to Integer
added spell entity