move cli to src, use bailey.js as entry point for cli