added a basic spring layout class