integrate with rails api; update styeles; go green