added *.swp files to gitignore
moved ram and swap meter to a class.