Fixed double entries. Added parser, has bugs with initialization.