created new classes: Buffer, Parser