Initial component

A class to connect mysql and do operations in a graceful manner.