added more api documentation
added prettyfier for responses
added initial version of ranking algorithm