Added simple pad function
Added simple logging module
Added logging to main module