first feature function added, some tests, pyc added to gitignore