Changed some tabs into spaces
#16 Added serialization of references and tests