directive with an object to store config settings
change styles and gitignore file
resolve issue #2
fixed bugs