moved parser opts to separate module

Also made the wrapper a pkg