Move current code into 'lib' folder