Move main file to lib directory; update Guardfile