Cleaned up buck code, created buck patterns dir