Api class created
Changes in MainACtivity