Ionic raises $6 million in funding