Microscopy software framework