count total number of pages and posts
added API calls for pages and categories
fixed broken paging
refactored to use consts
added logback config, added more log statements for the import process