Add config file. Reorganize structure.