Structured directories and added sailfishOS implementation