Fix some stuff in Gratex services, remove service related libraries
Fix preference page errors