updated gitignore rules
added actual code and spec