Feature/normalize index whitespace

Makes sure Sql Indexes use a consistent spacing character. Also ensures proper space character in Sql Query.