Massive update, in short.

Fixed functionalized issues with selector, moved its files into
commonincludes, setup script for when first pull down repository
finished. Made many files absolute, generated paths.