moved define where it belongs
sorting out headers and dependencies
added Jamfiles