added Framework.php static class to bootstrap loading
fixed bug that caused logging enable/disable to only work with last plugin loaded
replaced constants with properties