added functions
added function
removed var
moved include functions file
added settings file