Added Documents array functions and fixed require paths
removed stupid `info` attribute
added possibility of mapping functions