Added AppData class, which for now just stores the last browsed directory