change indents to spaces from tabs
update gitignore
update indents from tabs to spaces
add base functions file

separate from theme-specific functions