One big controller made, in order to use the restful web services with angular.

Needs to be sorted, so that is is not in one controller only.
Group commit.