Title and placeholder for editfields + refactoring

Editfields: added title (needed for pattern format description) and placeholder, some cleanup and splitting into single files for better maintainability.