This is a very good idea. In fact it's so good that the first functions of the first file of that library were already written. Have a look at the feature list of the last beta version.