Added skeleton for other parser and moved code to main file.