change config and added useful snippets to models folder