update a lot of small init changes, including fixes
add snippets dir