Added .gitignore file.
Moved some sys config details to config file.