__checks, __set_env and __set_config_files implemented.

- .gitignore updated to avoid vim *swp files.