Wired the application togeather