some changes :)
the get_posts can get any selected list of posts; Theme class can
register itself with Index
added the stub files to the default theme