added rails files and proper gitignore