implement idempotent retrieval of bookmarks folder
organize project structure and Makefile building
extract macros and constants into 'defs' file