separate connection and data api into different elements