Added exception handling
Adding core file w/ few functions and queries
Adding safe installer