First version of loader (cf #62)