Move JPEGParser to it's own file