adds initial files and instantiated appdelegate