Insert lib
Split Main Class and SQL Class