refactored rest model & comm stuff
deleted badly named and/or useless stuff
removed .idea from repo
probably useless