Removed hard library and replaced it with gradle dependency