To attract a villager, you must first build a bed. There must be a roof over the bed for them to be able to sleep.
In order to get them to work, you must also provide each villager (their own?) dining table, and food.
Work: Villagers will (automatically?) perform crafting, planting, harvesting, and construction. They seem to only do work within their own home/ near their bed.
Construction Jobs: Building Window Frames around placed windows and doors (Make sure the window/door is flush with the surface of the surrounding wall)