move cozy-light main file to lib folder