Fixed mistakes in file system. Configs moved to config.php