Implemented basic type filter functionality, added more application structure.