Move register_oneshot_snippet function
Improve snipMate compatibility init
Improve variables methods
Add helpers file
Move many helper functions