refactoring; parts of the brick functionality and pressure point

Signed-off-by: Alexander Skjolden <alex@plastboks.net>