Initial pass at code for lighthouse