Added spec directory and factories