rearranged web project, incorporated sleep library from android project