Add support code for tests.
Move rendering implementation to main file.
Update project metadata.