Added layout compiler plugin
Added unit tests + Refactored some existing unit tests