[fixes #84 #83 #76 #51] handle subdirectories with improved loader and
fixed ember