Added template for screens list.

Added basic preferences.
Fixed ref parsing.