Revert "Add build gradle and core exception class"

This reverts commit 51dfa1a96e63344905dbcdc5cac514863d44652b.