Based on ferris-framework 2 beta