Refactor dev server file structure