Single thread implementation - partial
Single Thread implementation and parser