fix requirements & class names to get it work as a gem