added inbox, reorganized files