added comments, separated apps from libraries, removed redis