created app functionality; added Foundation gem