Changed setup script, splitted files