restructured apps directories.  closed #47