add scripts on server/client sides; connect tasks/ and get_details/; improve MongoDB models