For the homepage it creates a new table (^homepage) that basically keeps a record for all questions (or their most recent answer). Then on loading the homepage it fetches and displays the relevant ones.

When you install the plugin you have to sync the database so that the homepage table is set up, then whenever a user makes/alters an answer/question it updates the homepage table so as to reflect this.

The plugin is not perfect, I know of one bug I probably need to solve, feel free to comment on it.