Support subdir and loading strategy

This superceeds #11 
I really couldn't find any known plugin that doesn't have that anymore. Seems like people came to there senses?