#107 renamed rest files
#107 fixed ajax responses/js errors