Started on global framework

will eventually replace singleton