update directory structure, move un-needed code to obsoleted, update setupdev script (BUG: tipitaka app js not working)