sources setup routine
added factory for fluid app integration