fixed typos. code cleanup
bumped lapis dependency to 1.0.0