Add ignore for compiled file and filled out main snippet in python.
Removed unused modes