supported syntax revamped; added support for conditional blocks; controller class removed