Move index and config to src folder.