Improve naming
Extract server into separate module
Add Preprocessor base class
Move file name / extension logic into Preprocessor base class