Fixed Inherits and added .swp to .gitignore