storage api added, library.php and class.dao.php seem to work fine now