wrap up skeleton (still needs mongo stuff)