More foundation changes. Added models directory and the file to be used for authentication