Remove lager dependency, clean up unused var warnings

Fix #5