move store definitions to core lib
add missing files