Formatted installer source, read sql from file

Added automatic installation