unfinished singleton factrory

started integration with boost::application