Add embedded perl preprocessor
Implement preprocessing
Create entry point
Rearrage code