simplified rest objects to be pure data containers
fixed autolayout issues with compose view