Changed parsing of atoms
Added serializer; fixed parser throwing exception when given ) as a first token