starting to clean up code; removing residuals; working on proper interface for data access for whoever wants to plug up to whatever system;