Added configuration file and did some cleaning

Added a config file which contains the template and other options.
Further removed an unneeded migration and removed a line in the
SmallSearchForm chunk.