Separate parse functionality in module