Clean up var declarations, add README