update gitignore
add example yaml config
add config vars, parse yaml file