Change utils to lib and move it outside app dir